<%@page contentType="text/html; charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>出错啦</title>
	<style type="text/css">
		.style1 
		{font: "华文行楷"}
	</style>
</head>
<body>
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle"><table width="58%" height="144"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="18%" height="76" align="center" valign="middle"><img src="images/error.gif" width="64" height="64"></td>
      <td width="82%">
      <s:if test="%{hasFieldErrors() || hasActionErrors()}">
      	<s:actionerror/>
      	<s:fielderror/>
      </s:if>
      <s:else>
      <h1 class="style1">出错啦,快联系管理员!</h1>
      </s:else>
      </td>
      </tr>
      <tr>
        <td height="29" colspan="2" align="center"><span id="countdown"></span></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><input type="button" name="Submit" value=" 返 回 " onClick="window.history.go(-1);">&nbsp;&nbsp;
          <input type="button" name="Submit2" value=" 关 闭 " onClick="widnow.close();"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<script type="text/javascript">
	var second=5;
	function countDown()
	{
		countdown.innerText=second+'秒后将自动返回上一页.';
		if((second--)<=0)
		{
			window.history.go(-1);
		}
		window.setTimeout('countDown()',1000);
	}
	countDown();
</script>
</html>
